#include "taskboardrequest.h"

namespace Wishmaster {

TaskBoardRequest::TaskBoardRequest(const QString& chanName, const QString& boardId, const QUrl& link, const QString& msg, Connector* connector)
	: TaskRequest(TaskRequest::rtBoard, link, msg, connector),
	m_chanName(chanName),
	m_boardId(boardId)
{
}

QString TaskBoardRequest::chanName() const
{
	return m_chanName;
}

QString TaskBoardRequest::boardId() const
{
	return m_boardId;
}

void TaskBoardRequest::slot_result(const RequestPtr& rq, const QByteArray& arr)
{
	if(rq)
		emit result(this, arr, rq->contentType());
	TaskRequest::slot_result(rq, arr);
}

}
